package designpattern.bridge;

import java.sql.SQLOutput;

/**
 * TODO:类描述
 *
 * @className: Log
 * @packageName: designpattern.bridge
 * @author: Zhuhj
 * @version: V1.0
 * @date: 2021/4/25 22:01
 */
public abstract class Log {
     ImpLog impLog ;

     public void write(String log){
         impLog.execute(log);
     }

    public ImpLog getImpLog() {
        return impLog;
    }

    public void setImpLog(ImpLog impLog) {
        this.impLog = impLog;
    }
}
